/**
 * @filename:LecturerTitleService Course
 * @project constract  V1.0
 * Copyright(c) 2018  Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.znufe.exam.domain.LecturerTitle;
import com.znufe.exam.viewmodel.admin.lecturertitle.LecturerTitlePageRequestVm;

/**
 *  
 * @Description:  讲师职称分类表——SERVICE
 * @Author:          
 * @CreateDate:   Course
 * @Version:      V1.0
 *    
 */
public interface LecturerTitleService {
	
	/**
	 * @explain 查询讲师职称分类表对象
	 * @param   id
	 * @return  LecturerTitle
	 * @author  
	 */
	LecturerTitle selectByPrimaryKey(Integer id);
	
	/**
	 * @explain 删除讲师职称分类表对象
	 * @param   id
	 * @return  int
	 * @author  
	 */
	int deleteByPrimaryKey(Integer id);
	
	/**
	 * @explain 添加讲师职称分类表对象
	 * @param   lecturerTitle
	 * @return  int
	 * @author  
	 */
	int insertSelective(LecturerTitle lecturerTitle);
	
	/**
	 * @explain 修改讲师职称分类表对象
	 * @param   lecturerTitle
	 * @return  int
	 * @author  
	 */
	int updateByPrimaryKeySelective(LecturerTitle lecturerTitle);
	
	/**
	 * @explain 查询讲师职称分类表集合
	 * @param   lecturerTitle
	 * @return  List<LecturerTitle>
	 * @author  
	 */
	List<LecturerTitle> queryLecturerTitleList(LecturerTitle lecturerTitle);
	
    PageInfo<LecturerTitle> titlePage(LecturerTitlePageRequestVm requestVm);

    LecturerTitle getTitleByName(String titleName);

    List<LecturerTitle> getAllTitle();
}